package org.cancer.app

import org.apache.spark.sql.Dataset
import org.cancer.app.ProportionStagesCancerApp_Sylvia.spark
import org.cancer.common.TApp
import org.cancer.controller.IncidenceCancerTopNController

object IncidenceCancerTopNApp_Sylvia extends TApp {

  val incidenceCancerTopNController = new IncidenceCancerTopNController()

  start("local[*]","IncidenceCancerTopNApp"){

    val ds: Dataset[String] = spark.read.textFile("input/ChineseCancerPatientInfo.csv")

    incidenceCancerTopNController.dispatch(ds)

  }

}
